package com.apikey.auth.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * API Key管理框架JPA配置类
 * 配置JPA实体扫描和Repository扫描
 *
 * @author API Key Framework
 * @version 1.0
 */
@Configuration
@EnableJpaRepositories(basePackages = "com.apikey.auth.repository")
@EntityScan(basePackages = "com.apikey.auth.entity")
@EnableTransactionManagement
public class ApiKeyJpaConfig {

    // JPA配置由Spring Boot自动配置处理
    // 这个类主要用于指定扫描包路径
}